package com.mini.constant;

/**
 * Created with meng.
 * User: meng5
 * Date: 2019-12-06
 * Description:
 */
public enum  CourseType {
    COURSE_LIVE((byte)1, "直播"),
    COURSE_VOD((byte)2, "点播"),
    ;

    private byte type;
    private String name;

    CourseType(byte type, String name) {
        this.type = type;
        this.name = name;
    }

    public byte getType() {
        return type;
    }

    public String getName() {
        return name;
    }
}